package com.ttdc.service;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ttdc.pojo.OrderList;
import com.ttdc.pojo.OrderListExample;


public interface OrderListService {

	int countByExample(OrderListExample example);

    int deleteByExample(OrderListExample example);

    int deleteByPrimaryKey(Integer olId);

    int insert(OrderList record);

    int insertSelective(OrderList record);

    List<OrderList> selectByExample(OrderListExample example);

    OrderList selectByPrimaryKey(Integer olId);

    int updateByExampleSelective(@Param("record") OrderList record, @Param("example") OrderListExample example);

    int updateByExample(@Param("record") OrderList record, @Param("example") OrderListExample example);

    int updateByPrimaryKeySelective(OrderList record);

    int updateByPrimaryKey(OrderList record);

	List<OrderList> selectByAll();

	List<OrderList> selectByDate(Date date);
}
